package com.aos.eap.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author HX
 * @date 2019/12/17
 * @desc
 */
public class SearchEqpBean implements Serializable {


    private EqpheadBean eqphead;
    private List<EqpbodiesBean> eqpbodies;

    public EqpheadBean getEqphead() {
        return eqphead == null ? new EqpheadBean() : eqphead;
    }

    public void setEqphead(EqpheadBean eqphead) {
        this.eqphead = eqphead;
    }

    public List<EqpbodiesBean> getEqpbodies() {
        if (eqpbodies == null) {
            return new ArrayList<>();
        }
        return eqpbodies;
    }

    public void setEqpbodies(List<EqpbodiesBean> eqpbodies) {
        this.eqpbodies = eqpbodies;
    }

    public static class EqpheadBean {

        private String eqpid;
        private String eqptype;
        private String messtate;
        private String controlstate;
        private String runstate;
        private String iscompare;
        private String recipename;
        private String lotname;
        private String lotcount;
        private String wirenum;
        private String bdnum;
        private String caplotnum;

        public String getLotname() {
            return lotname == null ? "" : lotname;
        }

        public void setLotname(String lotname) {
            this.lotname = lotname;
        }

        public String getLotcount() {
            return lotcount == null ? "" : lotcount;
        }

        public void setLotcount(String lotcount) {
            this.lotcount = lotcount;
        }

        public String getWirenum() {
            return wirenum == null ? "" : wirenum;
        }

        public void setWirenum(String wirenum) {
            this.wirenum = wirenum;
        }

        public String getBdnum() {
            return bdnum == null ? "" : bdnum;
        }

        public void setBdnum(String bdnum) {
            this.bdnum = bdnum;
        }

        public String getCaplotnum() {
            return caplotnum == null ? "" : caplotnum;
        }

        public void setCaplotnum(String caplotnum) {
            this.caplotnum = caplotnum;
        }

        public String getEqpid() {
            return eqpid == null ? "" : eqpid;
        }

        public void setEqpid(String eqpid) {
            this.eqpid = eqpid;
        }

        public String getEqptype() {
            return eqptype == null ? "" : eqptype;
        }

        public void setEqptype(String eqptype) {
            this.eqptype = eqptype;
        }

        public String getMesstate() {
            return messtate == null ? "" : messtate;
        }

        public void setMesstate(String messtate) {
            this.messtate = messtate;
        }

        public String getControlstate() {
            return controlstate == null ? "" : controlstate;
        }

        public void setControlstate(String controlstate) {
            this.controlstate = controlstate;
        }

        public String getRunstate() {
            return runstate == null ? "" : runstate;
        }

        public void setRunstate(String runstate) {
            this.runstate = runstate;
        }

        public String getIscompare() {
            return iscompare == null ? "" : iscompare;
        }

        public void setIscompare(String iscompare) {
            this.iscompare = iscompare;
        }

        public String getRecipename() {
            return recipename == null ? "" : recipename;
        }

        public void setRecipename(String recipename) {
            this.recipename = recipename;
        }


    }

    public static class EqpbodiesBean {

        private String time;
        private String opeeration;
        private String from;
        private String to;
        private String worknum;
        private String operator;
        private String description;

        public String getTime() {
            return time == null ? "" : time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getOpeeration() {
            return opeeration == null ? "" : opeeration;
        }

        public void setOpeeration(String opeeration) {
            this.opeeration = opeeration;
        }

        public String getFrom() {
            return from == null ? "" : from;
        }

        public void setFrom(String from) {
            this.from = from;
        }

        public String getTo() {
            return to == null ? "" : to;
        }

        public void setTo(String to) {
            this.to = to;
        }

        public String getWorknum() {
            return worknum == null ? "" : worknum;
        }

        public void setWorknum(String worknum) {
            this.worknum = worknum;
        }

        public String getOperator() {
            return operator == null ? "" : operator;
        }

        public void setOperator(String operator) {
            this.operator = operator;
        }

        public String getDescription() {
            return description == null ? "" : description;
        }

        public void setDescription(String description) {
            this.description = description;
        }


    }
}
